package com.example.springpethospital.service;

import com.example.springpethospital.entity.*;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface IllcaseFileService {
    List<IDAndName> getFileList(int caseID, CaseType casetype, FileType filetype);

    FileAndFiletype getFile(int fileID);

    void AddFile(int caseID, CaseType casetype, FileType filetype, MultipartFile file) throws IOException, IllegalArgumentException;

    boolean DeleteFile(int fileID);

    int DeleteFileByCase(int caseID);

    void modifyFileProperties(int fileID, int caseID, CaseType casetype, FileType filetype) throws IllegalArgumentException;
}